package com.projectsexception.festivales.news.model;

public enum FeedType {
    RSS("rss", "item", "pubDate"),
    RDF("RDF", "item", "date"),
    ATOM("feed", "entry", "updated");
    
    private String rootElement;
    private String entryElement;
    private String updateElement;
    
    private FeedType(String rootElement, String entryElement, String updateElement) {
        this.rootElement = rootElement;
        this.entryElement = entryElement;
        this.updateElement = updateElement;
    }
    
    public String getRootElement() {
        return rootElement;
    }
    
    public String getEntryElement() {
        return entryElement;
    }
    
    public String getUpdateElement() {
        return updateElement;
    }
}
